



public class Dog {
	private int  age;
	private String name;
	
	public int getAge() {
	return age;
	}
	public void setAge(int DogAge) {
		age=DogAge;
	}
	
	public String getName() {
		return name;
		}
		public void setName(String DogName) {
			name=DogName;
		}
	
	//constructor
	public Dog (String DogName) {
			
			name=DogName;
		}
	public void Talk() {
		System.out.println("Woof Woof");
	}
	
	


	


}

		
